It is a historical fact that the Holy Prophet (Sallallahu alaihi wa sallam) established a Madarsa in the house of Arqam before mosques were constructed. When the lanes of Madina were illuminated with the radiance of Islam, then the Teacher of the whole universe (Sallallahu alaihi wa sallam) sent Hadhrat Mus’ab bin Umair (May Allah be well pleased with him) as a teacher there and he instructed the people of Madina in the Holy Quran and Hadith.
Due to this excellence, Hadhrat Shaykh Ul Islam (May Allah shower His Mercy on him) paid special attention to establishment of Madarsas and their progress. He spent huge amounts for this purpose. (Matla ‘Ul Anwaar, Pg. No. 48)
He did all this so that the next generation of Muslims could be educated there and adorned with true Islamic teachings and culture so that they could lead the Ummah and become true stalwarts of the Ummah.